﻿using System;

namespace Eneta.Portal.Forum.Rss
{
    [Serializable]
    public class RssTextInput : RssElement
    {
        // Fields
        private string description = "";
        private Uri link = RssDefault.Uri;
        private string name = "";
        private string title = "";

        // Properties
        public string Description
        {
            get
            {
                return this.description;
            }
            set
            {
                this.description = RssDefault.Check(value);
            }
        }

        public Uri Link
        {
            get
            {
                return this.link;
            }
            set
            {
                this.link = RssDefault.Check(value);
            }
        }

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                this.name = RssDefault.Check(value);
            }
        }

        public string Title
        {
            get
            {
                return this.title;
            }
            set
            {
                this.title = RssDefault.Check(value);
            }
        }
    }
}
